<?php

//配置文件
return [
    'exception_handle'        => '\\app\\api\\library\\ExceptionHandle',
    // 测试使用开关
    'api_debug'               => false,
    // 测试使用数据
    'api_debug_data'          => [
        'wechat_third' => [
            'access_token'  => '123456789',
            'refresh_token' => '123456789',
            'expires_in'    => '123456',
            'openid'        => 'o6_bmasdasdsad6_2sgVt7hMZOPfL',
            'unionid'       => 'o6_bmasdasdsad6_2sgVt7hMZOPfL',
            'userinfo'      => [
                'openid'        => 'o6_bmasdasdsad6_2sgVt7hMZOPfL',
                'nickname'      => 'nickname',
                'sex'           => '1',
                'province'      => 'province',
                'city'          => 'city',
                'country'       => 'country',
                'avatar'        => '',
                'headimgurl'    => '',
                'privilege'     => 'PRIVILEGE1',
                'unionid'       => 'o6_bmasdasdsad6_2sgVt7hMZOPfL'
            ]
        ]
    ],
];
